package String;

public class MatchesDemo03 {
    public static void main(String[] args) {
        /*
         *正则数量词
         */
        String name="Andy______Wang";
        boolean b=name.matches("\\w{8,20}");
        System.out.println(b);

    }
}
